package com.test2.demo.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class Course {
    public int no;
    public String name;
    public String teacher;
//构造器 Course course =new Course(0,"数据","SK");

    public Course(int no, String name, String teacher) {
        this.no = no;
        this.name = name;
        this.teacher = teacher;
    }
}
